import { ScrollTrigger, SplitText } from 'gsap/all';
import React from 'react';
import gsap from 'gsap';
// 组件
import Navbar from './components/Navbar';
import Hero from './components/Hero';
import Cocktails from './components/Cocktails';
import About from './components/About';
import Art from './components/Art';
import Menu from './components/Menu';
import Contact from './components/Contact';






// 注册插件
gsap.registerPlugin(ScrollTrigger, SplitText);

const App = () => {
  return (
    <main>
      <Navbar></Navbar>
      <Hero></Hero>
      <Cocktails></Cocktails>
      <About></About>
      <Art></Art>
      <Menu></Menu>
      <Contact></Contact>
    </main>
  );
};
export default App;